<template>
	<view class="container">
		
		<view class="intro">本项目已包含uni ui组件，无需import和注册，可直接使用。在代码区键入字母u，即可通过代码助手列出所有可用组件。光标置于组件名称处按F1，即可查看组件文档。</view>
		<text class="intro">详见：</text>
		<uni-link class="intro" :href="href" :text="href"></uni-link>
    <uv-alert class="intro" title="uv-ui" type="warning" description="uv-ui的目标是成为uni-app生态最优秀的UI框架"></uv-alert>
    <uv-icon class="intro" name="photo" size="30" color="#909399"></uv-icon>
  </view>
</template>

<script>
  import { test } from '@/stores/test'
  import { nextTick } from 'vue'
	export default {
    name: 'Demo_Uvui',
		data() {
			return {
				href: 'https://uniapp.dcloud.io/component/README?id=uniui'
			}
		},
    mounted() {
      nextTick(() => {
        console.log(this.$env.apiUrl)
        console.log(this.$cache.keyPre)
        console.log(test().count)
        test().increment()
        console.log(test().count)
      })
      console.log(this.$tool.getTimestamp())
    },
		methods: {

		}
	}
</script>
